try:
    num=int(input('请输入数字:'))
except Exception as e:
    print('输入错误')
else:
    if num % 2 ==0:
        print('偶数')
    else:
        print('奇数')
finally:
    print('程序结束')